package com.yanjiali.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Package: com.yanjiali.properties
 * @Author: yanjiali
 * @Created: 2024/6/23 19:34
 */
@Component
@ConfigurationProperties(prefix="qianfan")
@Data
public class BaiDuQianFanProperties {

    private String get_token_url;    // 获取token的请求地址

    private String get_answer_url;   // 获取回答的请求地址

    private String client_id;

    private String client_secret;
}
